package com.lebang.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.time.LocalDate;
import lombok.Data;

/**
 * cences_rouse_click
 * @author 
 */
@Data
@ApiModel("")
public class CencesRouseClick implements Serializable {
    /**
     * id
     */
    @ApiModelProperty("id")
    private Integer id;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private LocalDate createTime;

    /**
     * 记录日期
     */
    @ApiModelProperty("记录日期")
    private Integer time;

    /**
     * 自营签到id
     */
    @ApiModelProperty("自营签到id")
    private Long rouseId;

    /**
     * 1天签到
     */
    @ApiModelProperty("1天签到")
    private Integer oneDayClick;

    /**
     * 2天签到
     */
    @ApiModelProperty("2天签到")
    private Integer twoDayClick;

    /**
     * 6天签到
     */
    @ApiModelProperty("6天签到")
    private Integer sixDayClick;

    /**
     * 13天签到
     */
    @ApiModelProperty("13天签到")
    private Integer thirteenDayClick;

    /**
     * 14天签到
     */
    @ApiModelProperty("14天签到")
    private Integer forteenDayClick;

    /**
     * 30天签到
     */
    @ApiModelProperty("30天签到")
    private Integer thirtyDayClick;

    /**
     * 应用id
     */
    @ApiModelProperty("应用id")
    private Integer appId;

    private static final long serialVersionUID = 1L;

    public CencesRouseClick(Integer time,Integer appId) {
        this.createTime = LocalDate.now();
        this.time = time;
        this.rouseId = 0L;
        this.oneDayClick = 0;
        this.twoDayClick = 0;
        this.sixDayClick = 0;
        this.thirteenDayClick = 0;
        this.forteenDayClick = 0;
        this.thirtyDayClick = 0;
        this.appId=appId;
    }

}